package cn.hl.hm.entity;

import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

public class Order  extends BasePO{
	private String giftDesc ;
	private BigDecimal giftPrice;
	private BigDecimal prepayPrice;
	private String plateNumber;
	private  Date loginkTime;
	
	 

	public Date getLoginkTime() {
		return loginkTime;
	}

	public void setLoginkTime(Date loginkTime) {
		this.loginkTime = loginkTime;
	}

	public String getPlateNumber() {
		return plateNumber;
	}

	public void setPlateNumber(String plateNumber) {
		this.plateNumber = plateNumber;
	}

	public String getGiftDesc() {
		return giftDesc;
	}

	public void setGiftDesc(String giftDesc) {
		this.giftDesc = giftDesc;
	}

	public BigDecimal getGiftPrice() {
		return giftPrice;
	}

	public void setGiftPrice(BigDecimal giftPrice) {
		this.giftPrice = giftPrice;
	}

	public BigDecimal getPrepayPrice() {
		return prepayPrice;
	}

	public void setPrepayPrice(BigDecimal prepayPrice) {
		this.prepayPrice = prepayPrice;
	}

	private BigDecimal vehicleLength1;
	
	private String vehicleName;
 

	public BigDecimal getVehicleLength1() {
		return vehicleLength1;
	}

	public void setVehicleLength1(BigDecimal vehicleLength1) {
		this.vehicleLength1 = vehicleLength1;
	}

	public String getVehicleName() {
		return vehicleName;
	}

	public void setVehicleName(String vehicleName) {
		this.vehicleName = vehicleName;
	}

	private int orderSize;
	
	
	public int getOrderSize() {
		return orderSize;
	}

	public void setOrderSize(int orderSize) {
		this.orderSize = orderSize;
	}

	private String totalPriceStr;
	
	private  Integer loginkStatus;
	
	public Integer getLoginkStatus() {
		return loginkStatus;
	}

	public void setLoginkStatus(Integer loginkStatus) {
		this.loginkStatus = loginkStatus;
	}

	private String orderPics;

	public String getOrderPics() {
		return orderPics;
	}

	public void setOrderPics(String orderPics) {
		this.orderPics = orderPics;
	}

	private String totalMillsStr;
	private VtVl vtVl;
	private VehicleLength vehicleLength;
	
	public VehicleLength getVehicleLength() {
		return vehicleLength;
	}

	public void setVehicleLength(VehicleLength vehicleLength) {
		this.vehicleLength = vehicleLength;
	}

	public VtVl getVtVl() {
		return vtVl;
	}

	public void setVtVl(VtVl vtVl) {
		this.vtVl = vtVl;
	}

	public String getTotalMillsStr() {
		return totalMillsStr;
	}

	public void setTotalMillsStr(String totalMillsStr) {
		this.totalMillsStr = totalMillsStr;
	}

	public String getTotalPriceStr() {
		return totalPriceStr;
	}

	public void setTotalPriceStr(String totalPriceStr) {
		this.totalPriceStr = totalPriceStr;
	}

	private String lineName;
	private String iosPayFlag;
	
	public String getIosPayFlag() {
		return iosPayFlag;
	}

	public void setIosPayFlag(String iosPayFlag) {
		this.iosPayFlag = iosPayFlag;
	}

	public String getLineName() {
		return lineName;
	}

	public void setLineName(String lineName) {
		this.lineName = lineName;
	}

	private String	userAccount;
	
	
	public String getUserAccount() {
		return userAccount;
	}

	public void setUserAccount(String userAccount) {
		this.userAccount = userAccount;
	}

	private String message;
	
	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	private OrderReview orderReview;
	
	public OrderReview getOrderReview() {
		return orderReview;
	}

	public void setOrderReview(OrderReview orderReview) {
		this.orderReview = orderReview;
	}

	private BigDecimal consumeFee;
	
	

	public BigDecimal getConsumeFee() {
		return consumeFee;
	}

	public void setConsumeFee(BigDecimal consumeFee) {
		this.consumeFee = consumeFee;
	}

	private User user;
	
	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	private VehicleType vehicleType;
	
	private Route route;
	private RouteVehiclePrice routeVehiclePrice;
	
	public RouteVehiclePrice getRouteVehiclePrice() {
		return routeVehiclePrice;
	}

	public void setRouteVehiclePrice(RouteVehiclePrice routeVehiclePrice) {
		this.routeVehiclePrice = routeVehiclePrice;
	}

	public VehicleType getVehicleType() {
		return vehicleType;
	}

	public void setVehicleType(VehicleType vehicleType) {
		this.vehicleType = vehicleType;
	}

	public Route getRoute() {
		return route;
	}

	public void setRoute(Route route) {
		this.route = route;
	}

	private OrderRules orderRules;
	
	public OrderRules getOrderRules() {
		return orderRules;
	}

	public void setOrderRules(OrderRules orderRules) {
		this.orderRules = orderRules;
	}

	private String driverName;
	private String driverPhone;
	
	public String getDriverName() {
		return driverName;
	}

	public void setDriverName(String driverName) {
		this.driverName = driverName;
	}

	public String getDriverPhone() {
		return driverPhone;
	}

	public void setDriverPhone(String driverPhone) {
		this.driverPhone = driverPhone;
	}

	private Driver driver;
	
	public Driver getDriver() {
		return driver;
	}

	public void setDriver(Driver driver) {
		this.driver = driver;
	}

	private String signs;
	
	public String getSigns() {
		return signs;
	}

	public void setSigns(String signs) {
		this.signs = signs;
	}

	private Integer id;

	private String orderCode;

	private Integer userId;

	private Integer driverId;

	private Integer operId;

	private String senderPhone;

	private String senderName;

	private String senderCompanyName;

	private String reciveverPhone;

	private String orderStatus;

	private String goodsName;

	private String goodsNumber;

	private String goodsUnit;

	private String remark;

	private Integer carId;
	private Integer vtVlId;
	

	public Integer getVtVlId() {
		return vtVlId;
	}

	public void setVtVlId(Integer vtVlId) {
		this.vtVlId = vtVlId;
	}

	private Integer lineId;

	private Integer carLineId;

	private BigDecimal totalPrice;

	private BigDecimal favourPrice;

	private BigDecimal payPrice;

	private String personalCode;

	private String paymentNo;

	private String payTransNo;
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date createTime;
	
	private String createTimeStr;
	
	public String getCreateTimeStr() {
		return createTimeStr;
	}

	public void setCreateTimeStr(String createTimeStr) {
		this.createTimeStr = createTimeStr;
	}

	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date useTime;

	private Date payTime;
	private Date cancleTime;

	public Date getCancleTime() {
		return cancleTime;
	}

	public void setCancleTime(Date cancleTime) {
		this.cancleTime = cancleTime;
	}

	private Date commentTime;

	private Date moneyToDriverTime;

	private Date acceptTime;

	private String payType;

	private String srcLonLat;

	private String destLonLat;

	private String srcAddress;

	private String destAddress;

	private BigDecimal totalMileage;

	private String platformId;

	private Integer orderRulesId;

	private BigDecimal infoFee;

	private BigDecimal rewardFee;

	private String effective;

	private String cancleReason;

	private Date userEnsureTime;

	private String driverEnsureStatus;

	private Date driverEnsureTime;
	private Integer orderSource;
	private Integer stOrderId;
	private Integer stLineId;

	private Integer vehicleLengthId;

	public boolean getIsQueryList() {
		return isQueryList;
	}

	public void setIsQueryList(boolean queryList) {
		isQueryList = queryList;
	}

	private boolean isQueryList;

	public Integer getStLineId() {
		return stLineId;
	}

	public void setStLineId(Integer stLineId) {
		this.stLineId = stLineId;
	}



	public Integer getStOrderId() {
		return stOrderId;
	}

	public void setStOrderId(Integer stOrderId) {
		this.stOrderId = stOrderId;
	}
	public Date getUserEnsureTime() {
		return userEnsureTime;
	}

	public void setUserEnsureTime(Date userEnsureTime) {
		this.userEnsureTime = userEnsureTime;
	}

	public String getDriverEnsureStatus() {
		return driverEnsureStatus;
	}

	public void setDriverEnsureStatus(String driverEnsureStatus) {
		this.driverEnsureStatus = driverEnsureStatus;
	}

	public Date getDriverEnsureTime() {
		return driverEnsureTime;
	}

	public void setDriverEnsureTime(Date driverEnsureTime) {
		this.driverEnsureTime = driverEnsureTime;
	}


	public String getCancleReason() {
		return cancleReason;
	}

	public void setCancleReason(String cancleReason) {
		this.cancleReason = cancleReason;
	}

	public Date getAcceptTime() {
		return acceptTime;
	}

	public void setAcceptTime(Date acceptTime) {
		this.acceptTime = acceptTime;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getOrderCode() {
		return orderCode;
	}

	public void setOrderCode(String orderCode) {
		this.orderCode = orderCode == null ? null : orderCode.trim();
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getDriverId() {
		return driverId;
	}

	public void setDriverId(Integer driverId) {
		this.driverId = driverId;
	}

	public Integer getOperId() {
		return operId;
	}

	public void setOperId(Integer operId) {
		this.operId = operId;
	}

	public String getSenderPhone() {
		return senderPhone;
	}

	public void setSenderPhone(String senderPhone) {
		this.senderPhone = senderPhone == null ? null : senderPhone.trim();
	}

	public String getSenderName() {
		return senderName;
	}

	public void setSenderName(String senderName) {
		this.senderName = senderName == null ? null : senderName.trim();
	}

	public String getSenderCompanyName() {
		return senderCompanyName;
	}

	public void setSenderCompanyName(String senderCompanyName) {
		this.senderCompanyName = senderCompanyName == null ? null : senderCompanyName.trim();
	}

	public String getReciveverPhone() {
		return reciveverPhone;
	}

	public void setReciveverPhone(String reciveverPhone) {
		this.reciveverPhone = reciveverPhone == null ? null : reciveverPhone.trim();
	}

	public String getOrderStatus() {
		return orderStatus;
	}

	public void setOrderStatus(String orderStatus) {
		this.orderStatus = orderStatus == null ? null : orderStatus.trim();
	}

	public String getGoodsName() {
		return goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName == null ? null : goodsName.trim();
	}

	public String getGoodsNumber() {
		return goodsNumber;
	}

	public void setGoodsNumber(String goodsNumber) {
		this.goodsNumber = goodsNumber == null ? null : goodsNumber.trim();
	}

	public String getGoodsUnit() {
		return goodsUnit;
	}

	public void setGoodsUnit(String goodsUnit) {
		this.goodsUnit = goodsUnit == null ? null : goodsUnit.trim();
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark == null ? null : remark.trim();
	}

	public Integer getCarId() {
		return carId;
	}

	public void setCarId(Integer carId) {
		this.carId = carId;
	}

	public Integer getLineId() {
		return lineId;
	}

	public void setLineId(Integer lineId) {
		this.lineId = lineId;
	}

	public Integer getCarLineId() {
		return carLineId;
	}

	public void setCarLineId(Integer carLineId) {
		this.carLineId = carLineId;
	}

	public BigDecimal getTotalPrice() {
		return totalPrice;
	}

	public void setTotalPrice(BigDecimal totalPrice) {
		this.totalPrice = totalPrice;
	}

	public BigDecimal getFavourPrice() {
		return favourPrice;
	}

	public void setFavourPrice(BigDecimal favourPrice) {
		this.favourPrice = favourPrice;
	}

	public BigDecimal getPayPrice() {
		return payPrice;
	}

	public void setPayPrice(BigDecimal payPrice) {
		this.payPrice = payPrice;
	}

	public String getPersonalCode() {
		return personalCode;
	}

	public void setPersonalCode(String personalCode) {
		this.personalCode = personalCode == null ? null : personalCode.trim();
	}

	public String getPaymentNo() {
		return paymentNo;
	}

	public void setPaymentNo(String paymentNo) {
		this.paymentNo = paymentNo == null ? null : paymentNo.trim();
	}

	public String getPayTransNo() {
		return payTransNo;
	}

	public void setPayTransNo(String payTransNo) {
		this.payTransNo = payTransNo == null ? null : payTransNo.trim();
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUseTime() {
		return useTime;
	}

	public void setUseTime(Date useTime) {
		this.useTime = useTime;
	}

	public Date getPayTime() {
		return payTime;
	}

	public void setPayTime(Date payTime) {
		this.payTime = payTime;
	}

	public Date getCommentTime() {
		return commentTime;
	}

	public void setCommentTime(Date commentTime) {
		this.commentTime = commentTime;
	}

	public Date getMoneyToDriverTime() {
		return moneyToDriverTime;
	}

	public void setMoneyToDriverTime(Date moneyToDriverTime) {
		this.moneyToDriverTime = moneyToDriverTime;
	}

	public String getPayType() {
		return payType;
	}

	public void setPayType(String payType) {
		this.payType = payType == null ? null : payType.trim();
	}

	public String getSrcLonLat() {
		return srcLonLat;
	}

	public void setSrcLonLat(String srcLonLat) {
		this.srcLonLat = srcLonLat == null ? null : srcLonLat.trim();
	}

	public String getDestLonLat() {
		return destLonLat;
	}

	public void setDestLonLat(String destLonLat) {
		this.destLonLat = destLonLat == null ? null : destLonLat.trim();
	}

	public String getSrcAddress() {
		return srcAddress;
	}

	public void setSrcAddress(String srcAddress) {
		this.srcAddress = srcAddress == null ? null : srcAddress.trim();
	}

	public String getDestAddress() {
		return destAddress;
	}

	public void setDestAddress(String destAddress) {
		this.destAddress = destAddress == null ? null : destAddress.trim();
	}

	public BigDecimal getTotalMileage() {
		return totalMileage;
	}

	public void setTotalMileage(BigDecimal totalMileage) {
		this.totalMileage = totalMileage;
	}

	public String getPlatformId() {
		return platformId;
	}

	public void setPlatformId(String platformId) {
		this.platformId = platformId == null ? null : platformId.trim();
	}

	public Integer getOrderRulesId() {
		return orderRulesId;
	}

	public void setOrderRulesId(Integer orderRulesId) {
		this.orderRulesId = orderRulesId;
	}

	public BigDecimal getInfoFee() {
		return infoFee;
	}

	public void setInfoFee(BigDecimal infoFee) {
		this.infoFee = infoFee;
	}

	public BigDecimal getRewardFee() {
		return rewardFee;
	}

	public void setRewardFee(BigDecimal rewardFee) {
		this.rewardFee = rewardFee;
	}

	public String getEffective() {
		return effective;
	}

	public void setEffective(String effective) {
		this.effective = effective == null ? null : effective.trim();
	}


	public Integer getVehicleLengthId() {
		return vehicleLengthId;
	}

	public void setVehicleLengthId(Integer vehicleLengthId) {
		this.vehicleLengthId = vehicleLengthId;
	}
	public Integer getOrderSource() {
		return orderSource;
	}

	public void setOrderSource(Integer orderSource) {
		this.orderSource = orderSource;
	}

	@Override
	public String toString() {
		return "Order [lineName=" + lineName + ", iosPayFlag=" + iosPayFlag + ", userAccount=" + userAccount
				+ ", message=" + message + ", orderReview=" + orderReview + ", consumeFee=" + consumeFee + ", user="
				+ user + ", vehicleType=" + vehicleType + ", route=" + route + ", routeVehiclePrice="
				+ routeVehiclePrice + ", orderRules=" + orderRules + ", driverName=" + driverName + ", driverPhone="
				+ driverPhone + ", driver=" + driver + ", signs=" + signs + ", id=" + id + ", orderCode=" + orderCode
				+ ", userId=" + userId + ", driverId=" + driverId + ", operId=" + operId + ", senderPhone="
				+ senderPhone + ", senderName=" + senderName + ", senderCompanyName=" + senderCompanyName
				+ ", reciveverPhone=" + reciveverPhone + ", orderStatus=" + orderStatus + ", goodsName=" + goodsName
				+ ", goodsNumber=" + goodsNumber + ", goodsUnit=" + goodsUnit + ", remark=" + remark + ", carId="
				+ carId + ", lineId=" + lineId + ", carLineId=" + carLineId + ", totalPrice=" + totalPrice
				+ ", favourPrice=" + favourPrice + ", payPrice=" + payPrice + ", personalCode=" + personalCode
				+ ", paymentNo=" + paymentNo + ", payTransNo=" + payTransNo + ", createTime=" + createTime
				+ ", createTimeStr=" + createTimeStr + ", useTime=" + useTime + ", payTime=" + payTime + ", cancleTime="
				+ cancleTime + ", commentTime=" + commentTime + ", moneyToDriverTime=" + moneyToDriverTime
				+ ", acceptTime=" + acceptTime + ", payType=" + payType + ", srcLonLat=" + srcLonLat + ", destLonLat="
				+ destLonLat + ", srcAddress=" + srcAddress + ", destAddress=" + destAddress + ", totalMileage="
				+ totalMileage + ", platformId=" + platformId + ", orderRulesId=" + orderRulesId + ", infoFee="
				+ infoFee + ", rewardFee=" + rewardFee + ", effective=" + effective + ", cancleReason=" + cancleReason
				+ ", userEnsureTime=" + userEnsureTime + ", driverEnsureStatus=" + driverEnsureStatus
				+ ", driverEnsureTime=" + driverEnsureTime + "]";
	}
	
}